home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2005 February / WN_129_CD.iso / Windows / Extensions Firefox / FlashGot / flashgot-0.5.3.xpi / chrome / flashgot.jar / content / flashgot / flashgotOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-11-14  |  3.9 KB  |  99 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is "FlashGot"
  16.    -
  17.    - The Initial Developer of the Original Code is Giorgio Maone.
  18.    - Portions created by the Initial Developer are Copyright (C) 2004
  19.    - the Initial Developer. All Rights Reserved.
  20.    -
  21.    - Contributor(s): Giorgio Maone <g.maone @ informaction.com>
  22.    -
  23.    - Alternatively, the contents of this file may be used under the terms of
  24.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  25.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.    - in which case the provisions of the GPL or the LGPL are applicable instead
  27.    - of those above. If you wish to allow use of your version of this file only
  28.    - under the terms of either the GPL or the LGPL, and not to allow others to
  29.    - use your version of this file under the terms of the MPL, indicate your
  30.    - decision by deleting the provisions above and replace them with the notice
  31.    - and other provisions required by the LGPL or the GPL. If you do not delete
  32.    - the provisions above, a recipient may use your version of this file under
  33.    - the terms of any one of the MPL, the GPL or the LGPL.
  34.    -
  35.    - ***** END LICENSE BLOCK ***** -->
  36.  
  37. <!DOCTYPE overlay SYSTEM "chrome://flashgot/locale/flashgot.dtd">
  38.  
  39. <overlay id="flashgotOverlay" 
  40.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  41.  
  42. <script type="application/x-javascript" src="flashgotCommon.js"/>
  43. <script type="application/x-javascript" src="flashgotOverlay.js"/>
  44.    
  45.   <keyset>
  46.     <key id="flashgot-link-key" keycode="VK_F1" modifiers="accel" oncommand="flashGot.downloadLink()" />
  47.     <key id="flashgot-sel-key" keycode="VK_F2" modifiers="accel" oncommand="flashGot.downloadSel()"/>
  48.     <key id="flashgot-all-key" keycode="VK_F3" modifiers="accel" oncommand="flashGot.downloadAll()"/>
  49.   </keyset>
  50.   
  51.   
  52.     <popup id="contentAreaContextMenu">
  53.         <menuseparator id="flashgot-context-separator"/>
  54.         <menuitem id="flashgot-menuitem-it" 
  55.                 label="&flashgotLink.label;" 
  56.                 accesskey="&flashgotLink.accesskey;"
  57.         oncommand="flashGot.downloadPopupLink()"
  58.         key="flashgot-link-key"
  59.             />
  60.     <menuitem id="flashgot-menuitem-sel" 
  61.                 label="&flashgotSel.label;"  
  62.                 accesskey="&flashgotSel.accesskey;"
  63.         oncommand="flashGot.downloadSel()"
  64.         key="flashgot-sel-key"
  65.     />
  66.         <menuitem id="flashgot-menuitem-all" 
  67.                 label="&flashgotAll.label;" 
  68.                 accesskey="&flashgotAll.accesskey;"
  69.         oncommand="flashGot.downloadAll()"
  70.         key="flashgot-all-key"
  71.             />
  72.       
  73.     <menuitem id="flashgot-menuitem-buildGallery" 
  74.       label="&flashgotBuildGallery.label;" 
  75.       oncommand="flashGot.buildGallery()"
  76.     />
  77.     <menu id="flashgot-menu-options"
  78.         label="&flashgotOptions.label;"
  79.     >
  80.       <menupopup>
  81.         <menuseparator id="flashgot-menusep-dms" />
  82.         <menuitem id="flashgot-menuitem-opt-includeImages"
  83.           label="&includeImages.label;"
  84.           type="checkbox"
  85.           oncommand="flashGot.switchOption('includeImages')"
  86.         />
  87.         <menuitem id="flashgot-menuitem-opt-hideDisabledCmds"
  88.           label="&hideDisabledCmds.label;"
  89.           type="checkbox"
  90.           oncommand="flashGot.switchOption('hideDisabledCmds')"
  91.         />
  92.         
  93.       </menupopup>
  94.    </menu>
  95.     </popup>
  96.  
  97.   
  98. </overlay>
  99.